import { defHttp } from '@/utils/http/axios';
import { RequestEnum } from '@/enums/httpEnum';
import { ServicePrefixEnum } from '@/enums/commonEnum';
import type { AxiosRequestConfig } from 'axios';

const MODULAR = 'user';

export const Api = {
  FindAll: {
    url: `${ServicePrefixEnum.BASE}/${MODULAR}/find_all`,
    method: RequestEnum.GET,
  } as AxiosRequestConfig,

}


export const findAll = () => {
  return defHttp.request({ ...Api.FindAll})
}




